<?php echo $this->Session->flash(); ?>
<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<table id="tabla"  >
    <thead>
        <tr>
            <th>Id</th>
            <th>Concepto</th>
            <th>Responsable</th>
            <th>Fecha</th>
            <th colspan="2">Opciones</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($revisiones as $revision): ?>
            <tr>
                <td><?php echo $revision['EvaluationConstraintReview']['id'] ?></td>  
                <td><?php echo $revision['EvaluationConstraintReview']['comentario'] ?></td>
                <td><?php echo $revision['User']['nombre'] . " " . $revision['User']['primer_apellido'] . " " . $revision['User']['segundo_apellido'] ?></td>
                <td><?php echo $revision['EvaluationConstraintReview']['fecha'] ?></td>
                <td><?php echo $ajax->link('Editar', array('controller' => 'EvaluationConstraintReviews', 'action' => 'edit', $revision["EvaluationConstraintReview"]["id"]), array('class' => 'actions', 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false)); ?></td>
                <td><?php echo $ajax->link('Eliminar', array('controller' => 'EvaluationConstraintReviews', 'action' => 'delete', $revision["EvaluationConstraintReview"]["id"], $constraint["EvaluationConstraint"]["id"]), array('class' => 'actions', 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false), '¿Eliminar comentario sobre el condicionamiento?'); ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br>
<?php echo $ajax->link('Adicionar', array('controller' => 'EvaluationConstraintReviews', 'action' => 'add', $constraint["EvaluationConstraint"]["id"]), array('class' => 'actions', 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false)); ?>
<br>
<br>
<br>
<?php
echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'EvaluationConstraints', 'action' => 'total_index'), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false));
?>
<br>